- get
T get()
Undocumented in source. Be warned that the author may not have intended to support it.
- getTypeName
string getTypeName()
Undocumented in source. Be warned that the author may not have intended to support it.
- opBinary
bool opBinary(Type t)
Undocumented in source. Be warned that the author may not have intended to support it.
- opCast
T opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
- set
T set(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
Use that when you want to hold arbitrary defined type (which usually must be converted) By using sumtype, your data will be converted only once and after that, it will be runtime type strict.